@charset "utf-8";

@import "_reset";

@function r($px){
    @return $px/100+rem;
}
html,body{
    height: 100%;
}
.mobile{
    position: relative;
    height: 100%;
    header{
        position:fixed;
        top: 0;
        width: 100%;
//      height: 0.89rem;
        height: r(89);
        background: #b20000;
        overflow: hidden;
        .login{
            margin-top: r(32);
            margin-left: r(23);
            float: left;
            li{
                width: r(30);
                height: r(4);
                line-height: r(4);
                background: #fff;
                color: #fff;
                margin-top: r(6);
                position: relative;
                &::before{
                    position: absolute;
                    top: 0;
                    left: r(-5);
                    display: inline-block;
                    content: "";
                    width: r(4);
                    height: r(4);
                    background: #fff;
                }
            }
        }
        .logo{
            float: left;
            width: r(264);
            height: r(39);
            font-size: 0;
            overflow: hidden;
            margin-top: r(25);
            margin-left: r(134);
            img{
                width: 100%;
            }
        }
        .search{
            float: right;
            width: r(43);
            height: r(43);
            overflow: hidden;
            margin-right: r(17);
            margin-top: r(25);
            font-size: 0;
            img{
                width: 100%;
            }
        }
    }
    
section{
    position: absolute;
    top: r(89);
    width: 100%;
    overflow: auto;
    bottom: r(89);
    margin-bottom: r(125);
    .swiper-container{
        width: 100%;
        font-size: 0;
        height: r(357);
        .swiper-wrapper{
            .swiper-slide{
                position: relative;
                img{
                    width: 100%;
                }
                .swiper-ct{
                    padding: 0 r(30);
                    height: r(104);
                    position: absolute;
                    bottom: 0;
                    width: 100%;
                    background: rgba(0,0,0,0.5);
                    h1{
                        width: r(588);
                        font-size: r(24);
                        color: #ffffff;
                        overflow: hidden;
                        display: inline-block;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        margin-top: r(24);
                        margin-bottom: r(10);
                    }
                    .pc1{
                        font-size: r(18);
                        color: white;
                        margin-right: r(49);
                        float: left;
                    }
                    span{
                        font-size: r(18);
                        color: white;
                        float: right;
                    }
                }
            }
        }
    }
}
    
    footer{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #f5f5f5;
        border-top: 1px solid #bbb9ba;
        .menu_foot{
            float: left;
            width: 19%;
            .submenu{
                margin-bottom: r(12);
                text-align: center;
                a{
                    span{
                        margin: 0 auto;
                        img{
                            width: r(50);
                            height: r(40);
                        }
                    }
                    p{
                        font-size: r(15);
                        color: #8b8b8b;
                    }
                    
                }
            }
        }
        .right_line{
            float: left;
            height: r(50);
            border-left: 1px solid #ebebeb;
            margin-top: r(50);
        }
    }
}
//登录弹窗
#check{
    display: none;
}
#check:checked ~ .loginBox{
    transform: translateX(0);
}
//#check:checked ~ .loginBox .back{
//  transform: rotate(0deg);
//  transition: 0s;
//}

//搜索框
#check9{
    display: none;
}
#check9:checked ~ .sea_box{
    transform: translateY(0);
}

//GIMC
    #check2{
         display: none;
    }
    #check2:checked ~ .loginBox .sel{
        display: block;
    }
    #check2:checked ~ .loginBox .GIMC{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    
    #check2:checked ~ .user_box .sel{
        display: block;
    }
    #check2:checked ~ .user_box .GIMC{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    //文章
    #check3{
         display: none;
    }
    #check3:checked ~ .loginBox .sel1{
        display: block;
    }
    #check3:checked ~ .loginBox .article{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    
     #check3:checked ~ .user_box .sel1{
        display: block;
    }
    #check3:checked ~ .user_box .article{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    //资源
    #check4{
         display: none;
    }
    #check4:checked ~ .loginBox .sel2{
        display: block;
    }
    #check4:checked ~ .loginBox .resources{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    
    #check4:checked ~ .user_box .sel2{
        display: block;
    }
    #check4:checked ~ .user_box .resources{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    //课程
    #check5{
         display: none;
    }
    #check5:checked ~ .loginBox .sel3{
        display: block;
    }
    #check5:checked ~ .loginBox .curriculum{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }
    
    #check5:checked ~ .user_box .sel3{
        display: block;
    }
    #check5:checked ~ .user_box .curriculum{
        display: block;
        p:nth-child(2){
            transform: rotate(90deg);
        }
    }

.loginBox{
    width: 100%;
    height: 100%;
    background: #222222;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: 0.5s;
    overflow: auto;
    z-index: 2;
    .back{
        position: absolute;
        top: r(32);
        left: r(23);
        display: block;
        width: r(43);
        height: r(43);
        background: #b60005;
        color: #fff;
        font-size: r(40);
        text-align: center;
        margin-top: r(10);
        border-radius: 50%;
    }
    .login_line{
        border: 1px solid #454545;
        margin-top: r(100);
        margin-left: r(17);
        margin-right: r(17);
    }
    .login_dl{
        width: 100%;
        text-align: center;
        padding-top: r(96);
        border-bottom: 12px solid #2c2c2c;
        .login_img{
            img{
                width: r(148);
                height: r(148);
            }
        }
        .ljdl{
            padding-bottom: r(70);
             a{
                text-align: center;
                display: block;
                line-height: r(50);
                font-size: r(18);
                color: #3f3f3f;
            }
            p{
                font-size: r(30);
                color: white;
            }
            
        }
    }
    .GIMC{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    //文章
    .article{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel1{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    //资源
    .resources{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel2{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    //课程
    .curriculum{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel3{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
}
//登录页面
#check6{
    display: none;
}
#check6:checked ~ .loginBox2{
    display: block;
}
.loginBox2{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    display: none;
    z-index: 2;
    overflow: auto;
    .big_logo{
        width: r(161);
        height: r(136);
        margin: 0 auto;
        margin-top: r(194);
        img{
            width: 100%;
        }
    }
    
    //用户
    .user{
        width: r(492);
        height: r(53);
        margin: 0 auto;
        margin-top: r(47);
        .user_pic{
            width: r(61);
            height: r(53);
            background: #303030;
            float: left;
            position: relative;
            .user_img{
                font-size: r(30);
                color: #fff;
                float: left;
                position: absolute;
                top: r(11);
                left: r(16);
            }
        }
            input{
                width: r(431);
                height: r(53);
                float: left;
                background: #3d3d3d;
                resize: none;
                padding-left: r(39);
                border: none;
                font-size: r(20);
            }
    }
     //密码
    .password{
        width: r(492);
        height: r(53);
        margin: 0 auto;
        margin-top: r(16);
        .password_pic{
            width: r(61);
            height: r(53);
            background: #303030;
            float: left;
            position: relative;
            .password_img{
                font-size: r(32);
                color: #fff;
                float: left;
                position: absolute;
                top: r(11);
                left: r(16);
            }
        }
            input{
                width: r(431);
                height: r(53);
                float: left;
                background: #3d3d3d;
                resize: none;
                padding-left: r(39);
                border: none;
                font-size: r(20);
                color: #fff;
            }
    }
    //忘记密码
    .forget{
        width: r(126);
        margin-top: r(26);
        margin-right: r(81);
        float: right;
        .wenhao{
            font-size: r(20);
            float: left;
            color: #fff;
            margin-right: r(6);
            line-height: r(20);
            margin-top: r(4);
        }
        a{
            font-size: r(20);
            color: #fff;
            float: left;
            line-height: r(20);
        }
    }
    //登录按钮
    .login_btn{
        width: r(492);
        height: r(53);
        background: #b60005;
        margin: 0 auto;
        margin-top: r(105);
        h1{
            font-size: r(23);
            color: #fff;
            text-align: center;
            line-height: r(23);
            padding-top: r(15);
        }
    }
    //注册按钮
    .register_btn{
        width: r(491);
        height: r(52);
        background: #b60005;
        margin: 0 auto;
        margin-top: r(14);
        background: #303030;
        border: r(1) solid #b60005;
        h1{
            font-size: r(23);
            color: #fff;
            text-align: center;
            line-height: r(23);
            padding-top: r(14);
        }
    }
}

//用户界面
#check7{
    display: none;
}
#check7:checked ~ .user_box{
    display: block;
}
#check8{
    display: none;
}
#check8:checked ~ .user_box{
    display: none;
}
#check8:checked ~ .loginBox2{
    display: none;
}
.user_box{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    display: none;
    z-index: 2;
    overflow: auto;
    .back{
        position: absolute;
        top: r(32);
        left: r(23);
        width: r(43);
        height: r(43);
        background: #b60005;
        color: #fff;
        font-size: r(40);
        text-align: center;
        margin-top: r(10);
        line-height: r(41);
        border-radius: 50%;
        display: inline-block;
    }
    .loginBox_1{
    margin: 0 auto;
    margin-top: r(102);
    width: r(612);
    border-top: r(1) solid #484848;
    .touxiang{
        width: r(130);
        height: r(130);
        margin: 0 auto;
        margin-top: r(85);
       img{
           width: 100%;
            border-radius: 50%;
       }
    }
    .username{
        width: r(206);
        margin: 0 auto;
        margin-top: r(15);
    p{
        font-size: r(25);
        font-weight: bold;
        color: #fff;
        float: left;
        margin-right: r(15);
        
    }
    a{
        text-align: center;
        display: block;
        float: left;
        color: #fff;
        font-size: r(14);
        border: r(1) solid #fff;
    }
   }
   .star{
       width: r(124);
       margin: 0 auto;
       margin-top: r(8);
       overflow: hidden;
       .star_img{
           width: r(23);
           height: r(20);
           float: left;
           img{
               width: 100%;
               float: left;
           }
       }
   }
   .fans{
       width: r(206);
       margin: 0 auto;
       overflow: hidden;
       margin-top: r(11);
       p{
           font-size: r(24);
           color: #fff;
           float: left;
           span{
               color: #b60005;
               margin-left: r(7);
           }
           }
           p:nth-child(1){
               padding-right: r(9);
               margin-right: r(13);
               border-right: r(1) solid #9a9a9a;
       }
   }
   .user_btn{
       width: r(460);
       overflow: hidden;
       margin: r(20) auto;
       input{
           width: r(220);
           height: r(53);
           color: #fff;
           background: #b60005;
           float: left;
           border-radius: r(24);
       }
       input:nth-child(2){
           margin-left: r(20);
           background: #cdcdcd;
       }
   }
}
    .gray{
        width: 100%;
        height: r(24);
        background: #303030;
        margin-bottom: r(5);
    } 
       
    .GIMC{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    //文章
    .article{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel1{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    //资源
    .resources{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel2{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    //课程
    .curriculum{
        width: r(576);
        height: r(88);
        margin: 0 auto;
        border-bottom: r(1) solid #2d2d2d;
        p:nth-child(1){
            font-size: r(24);
            line-height: r(24);
            color: #fff;
            float: left;
            margin-top: r(38);
        }
        p:nth-child(2){
            font-size: r(13);
            color: #fff;
            float: right;
            margin-top: r(38);
        }
        
    }
    .sel3{
        height: r(181);
        width: r(431);
        margin: 0 auto;   
        display: none; 
        p:nth-child(1){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            border-bottom: r(1) solid #2f2f2f;
            padding: r(32) 0;
        }
        p:nth-child(2){
            width: r(431);
            font-size: r(22);
            color: #fff;
            text-align: center;
            padding: r(37) 0;
        }
    }
    .out{
        width: r(180);
        margin:  0 auto;
        margin-top: r(50);
    .tuichu{
        width: r(180);
        height: r(53);
        background: #b60005;
        color: #fff;
        font-size: r(23);
        border-radius: r(24);
        padding-top: r(10);
        text-align: center;
    }
    }
}

//搜索界面
.sea_box{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    transform: translateY(-100%);
    transition: 0.5s;
    z-index: 2;
    overflow: auto;
    .sea_box_nav{
            height: r(87);
            width: 100%;
            background: #222222;
            position: relative;
        .back{
            position: absolute;
            top: r(16);
            left: r(23);
            width: r(43);
            height: r(43);
            background: #b60005;
            color: #fff;
            font-size: r(40);
            text-align: center;
            margin-top: r(10);
            line-height: r(41);
            border-radius: 50%;
            display: inline-block;
        }
        .sea_nav{
            width: r(534);
            height: r(52);
            border: r(4) solid #fff;
            border-radius: r(34);
            position: absolute;
            top: r(19);
            left: r(88);
            .nav_img{
                width: r(27);
                height: r(27);
                font-size: 0;
                float: left;
                margin-left: r(14);
                margin-top: r(11);
                overflow: hidden;
                img{
                    width: 100%;
                }
            }
            input{
                float: left;
                background: transparent;
                border: 0;
                margin-left: r(29);
                margin-top: r(11);
                color: #fff;
            }
        }
    }
    .sea_content{
        h1{
            font-size: r(27);
            line-height: r(27);
            margin-left: r(30);
            margin-top: r(32);
            margin-bottom: r(16);
            color: #211d1d;
        }
        .resou1{
            width: r(153);
            height: r(57);
            background: red;
            float: left;
            border: r(2) solid #dedede;
            padding-top: r(6);
            margin-left: r(30);
            p{
                font-size: r(30);
                color: #fff;
                text-align: center;
            }
        }
        .resou2{
            width: r(178);
            margin-left: r(8);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
        .resou3{
            width: r(202);
            margin-left: r(8);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
        .resou4{
            width: r(120);
            margin-left: r(31);
            margin-top: r(10);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
        .resou5{
            width: r(157);
            margin-left: r(8);
            margin-top: r(10);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
        .resou6{
            width: r(291);
            margin-left: r(8);
            margin-top: r(10);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
        .resou7{
            width: r(95);
            margin-left: r(8);
            margin-left: r(31);
            margin-top: r(10);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
        .resou8{
            width: r(251);
            margin-left: r(8);
            margin-top: r(10);
            height: r(57);
            background: #fff;
            border: r(2) solid #dedede;
            float: left;
            padding-top: r(6);
            p{
                font-size: r(30);
                color: #8b8b8b;
                text-align: center;
            }
        }
    }
}